# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class LineItem(scrapy.Item):
    id = scrapy.Field() #主键
    brand = scrapy.Field() #品牌
    line = scrapy.Field() #车系
    level = scrapy.Field() #级别
    mileage = scrapy.Field() #里程
    power = scrapy.Field() #马力
    charge = scrapy.Field() #充电时长
    ocolor = scrapy.Field() #外观颜色
    icolor = scrapy.Field() #内饰颜色

class TypeItem(scrapy.Item) :
    id = scrapy.Field() #主键
    name = scrapy.Field() #车型
    price = scrapy.Field() #经销商报价
    power_type = scrapy.Field() #能源类型
    mileage = scrapy.Field() #续航里程
    slow_charge = scrapy.Field() #慢充时间
    quick_charge = scrapy.Field() #快充时间
    battery_capacity = scrapy.Field() #电池容量
    charge_persent = scrapy.Field() #快充百分比
    quality_asurance = scrapy.Field() #整车质保
    size = scrapy.Field() #车身尺寸
    line_id = scrapy.Field() #外键：车系ID
